home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 442 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: chronicle.mti.sgi.com!austern
  2. From: hxh@jhk.com
  3. Newsgroups: comp.lang.c++,comp.std.c++
  4. Subject: Re: Explicit?  What's that?
  5. Date: 22 Feb 1996 09:17:19 PST
  6. Organization: MindSpring Enterprises
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <4gi4us$5o8@brickbat.mindspring.com>
  9. References: <4gb00j$2ne@charnel.ecst.csuchico.edu>
  10. Reply-To: hxh@jhk.com
  11. NNTP-Posting-Host: isolde.mti.sgi.com
  12. X-Original-Date: 22 Feb 1996 16:17:32 GMT
  13. X-Newsreader: IBM NewsReader/2 v1.09
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBVAwUBMSylK0y4NqrwXLNJAQHv/QH8C61LRfTvJwm+r8Mxs4/KIjEbvyNgyL8J
  16.     RQ4zMH3aJV/sL6sfZuWfOx32SDbZ8JscRsoTRhxz7IoLLEscWRT6qA==
  17.     =A1BY
  18. Originator: austern@isolde.mti.sgi.com
  19.  
  20. In <4gb00j$2ne@charnel.ecst.csuchico.edu>, mcelroy@ecst.CSUChico.EDU
  21. (James Robert McElroy) writes:  
  22. |>Borland sent me an upgrade offer for C++ V. 5.0.  Among 
  23. |>the new features they say they support is "Explicit".  
  24. |>No mention of what "Explicit" means is given.  
  25. |>
  26. |>What is this critter?
  27.  
  28. It is a new feature in evolving C++ language.  It servers as a
  29. qualifier in front of the constructor to instruct the compiler not to 
  30. do implicit type conversion which may cause some subtle bugs in code, 
  31. especially in single argument constructor where a proxy class
  32. constructor is usually used to avoid such conversion.
  33. ---
  34. [ To submit articles: Try just posting with your newsreader.  If that fails,
  35.                       use mailto:std-c++@ncar.ucar.edu
  36.   FAQ:    http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
  37.   Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  38.   Comments? mailto:std-c++-request@ncar.ucar.edu 
  39. ]
  40.